package com.isoftstone.project.system.mapper;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SysRoleAppMapper {

    void saveRoleApp(@Param(value = "roleId") String roleId, @Param(value = "appId") String appId) throws Exception ;


    void  deleteRoleAppByRoleId(@Param(value = "roleId") String roleId) throws Exception ;


    List<String> getAppsByRoleId(@Param(value = "roleId") String roleId) throws Exception ;
}
